Integrand size = 16, antiderivative size = 135 \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=-\frac {\arctan \left (\frac {\sqrt {a-b} \cot (c+d x)}{\sqrt {a+b \cot ^2(c+d x)}}\right )}{(a-b)^{5/2} d}+\frac {b \cot (c+d x)}{3 a (a-b) d \left (a+b \cot ^2(c+d x)\right )^{3/2}}+\frac {(5 a-2 b) b \cot (c+d x)}{3 a^2 (a-b)^2 d \sqrt {a+b \cot ^2(c+d x)}} \]
-arctan(cot(d*x+c)*(a-b)^(1/2)/(a+b*cot(d*x+c)^2)^(1/2))/(a-b)^(5/2)/d+1/3 *b*cot(d*x+c)/a/(a-b)/d/(a+b*cot(d*x+c)^2)^(3/2)+1/3*(5*a-2*b)*b*cot(d*x+c )/a^2/(a-b)^2/d/(a+b*cot(d*x+c)^2)^(1/2)
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 8.14 (sec) , antiderivative size = 367, normalized size of antiderivative = 2.72 \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=-\frac {\cot ^5(c+d x) \left (24 (a-b)^3 \cos ^2(c+d x) \, _3F_2\left (2,2,2;1,\frac {9}{2};\frac {(a-b) \cos ^2(c+d x)}{a}\right ) \left (b+a \tan ^2(c+d x)\right )^2+24 (a-b)^3 \cos ^2(c+d x) \operatorname {Hypergeometric2F1}\left (2,2,\frac {9}{2},\frac {(a-b) \cos ^2(c+d x)}{a}\right ) \left (3 b^2+7 a b \tan ^2(c+d x)+4 a^2 \tan ^4(c+d x)\right )-\frac {35 a \left (8 b^2+20 a b \tan ^2(c+d x)+15 a^2 \tan ^4(c+d x)\right ) \left (-3 \arcsin \left (\sqrt {\frac {(a-b) \cos ^2(c+d x)}{a}}\right ) \left (b+a \tan ^2(c+d x)\right )^2+a \sec ^2(c+d x) \sqrt {\frac {(a-b) \cos ^4(c+d x) \left (b+a \tan ^2(c+d x)\right )}{a^2}} \left (4 b+a \left (-1+3 \tan ^2(c+d x)\right )\right )\right )}{\sqrt {\frac {(a-b) \cos ^4(c+d x) \left (b+a \tan ^2(c+d x)\right )}{a^2}}}\right )}{315 a^5 (a-b)^2 d \left (1+\cot ^2(c+d x)\right ) \sqrt {a+b \cot ^2(c+d x)} \left (1+\frac {b \cot ^2(c+d x)}{a}\right )} \]
-1/315*(Cot[c + d*x]^5*(24*(a - b)^3*Cos[c + d*x]^2*HypergeometricPFQ[{2, 2, 2}, {1, 9/2}, ((a - b)*Cos[c + d*x]^2)/a]*(b + a*Tan[c + d*x]^2)^2 + 24 *(a - b)^3*Cos[c + d*x]^2*Hypergeometric2F1[2, 2, 9/2, ((a - b)*Cos[c + d* x]^2)/a]*(3*b^2 + 7*a*b*Tan[c + d*x]^2 + 4*a^2*Tan[c + d*x]^4) - (35*a*(8* b^2 + 20*a*b*Tan[c + d*x]^2 + 15*a^2*Tan[c + d*x]^4)*(-3*ArcSin[Sqrt[((a - b)*Cos[c + d*x]^2)/a]]*(b + a*Tan[c + d*x]^2)^2 + a*Sec[c + d*x]^2*Sqrt[( (a - b)*Cos[c + d*x]^4*(b + a*Tan[c + d*x]^2))/a^2]*(4*b + a*(-1 + 3*Tan[c + d*x]^2))))/Sqrt[((a - b)*Cos[c + d*x]^4*(b + a*Tan[c + d*x]^2))/a^2]))/ (a^5*(a - b)^2*d*(1 + Cot[c + d*x]^2)*Sqrt[a + b*Cot[c + d*x]^2]*(1 + (b*C ot[c + d*x]^2)/a))
Time = 0.30 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.07, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {3042, 4144, 316, 402, 27, 291, 216}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\left (a+b \tan \left (c+d x+\frac {\pi }{2}\right )^2\right )^{5/2}}dx\) |
\(\Big \downarrow \) 4144 |
\(\displaystyle -\frac {\int \frac {1}{\left (\cot ^2(c+d x)+1\right ) \left (b \cot ^2(c+d x)+a\right )^{5/2}}d\cot (c+d x)}{d}\) |
\(\Big \downarrow \) 316 |
\(\displaystyle -\frac {\frac {\int \frac {-2 b \cot ^2(c+d x)+3 a-2 b}{\left (\cot ^2(c+d x)+1\right ) \left (b \cot ^2(c+d x)+a\right )^{3/2}}d\cot (c+d x)}{3 a (a-b)}-\frac {b \cot (c+d x)}{3 a (a-b) \left (a+b \cot ^2(c+d x)\right )^{3/2}}}{d}\) |
\(\Big \downarrow \) 402 |
\(\displaystyle -\frac {\frac {\frac {\int \frac {3 a^2}{\left (\cot ^2(c+d x)+1\right ) \sqrt {b \cot ^2(c+d x)+a}}d\cot (c+d x)}{a (a-b)}-\frac {b (5 a-2 b) \cot (c+d x)}{a (a-b) \sqrt {a+b \cot ^2(c+d x)}}}{3 a (a-b)}-\frac {b \cot (c+d x)}{3 a (a-b) \left (a+b \cot ^2(c+d x)\right )^{3/2}}}{d}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle -\frac {\frac {\frac {3 a \int \frac {1}{\left (\cot ^2(c+d x)+1\right ) \sqrt {b \cot ^2(c+d x)+a}}d\cot (c+d x)}{a-b}-\frac {b (5 a-2 b) \cot (c+d x)}{a (a-b) \sqrt {a+b \cot ^2(c+d x)}}}{3 a (a-b)}-\frac {b \cot (c+d x)}{3 a (a-b) \left (a+b \cot ^2(c+d x)\right )^{3/2}}}{d}\) |
\(\Big \downarrow \) 291 |
\(\displaystyle -\frac {\frac {\frac {3 a \int \frac {1}{1-\frac {(b-a) \cot ^2(c+d x)}{b \cot ^2(c+d x)+a}}d\frac {\cot (c+d x)}{\sqrt {b \cot ^2(c+d x)+a}}}{a-b}-\frac {b (5 a-2 b) \cot (c+d x)}{a (a-b) \sqrt {a+b \cot ^2(c+d x)}}}{3 a (a-b)}-\frac {b \cot (c+d x)}{3 a (a-b) \left (a+b \cot ^2(c+d x)\right )^{3/2}}}{d}\) |
\(\Big \downarrow \) 216 |
\(\displaystyle -\frac {\frac {\frac {3 a \arctan \left (\frac {\sqrt {a-b} \cot (c+d x)}{\sqrt {a+b \cot ^2(c+d x)}}\right )}{(a-b)^{3/2}}-\frac {b (5 a-2 b) \cot (c+d x)}{a (a-b) \sqrt {a+b \cot ^2(c+d x)}}}{3 a (a-b)}-\frac {b \cot (c+d x)}{3 a (a-b) \left (a+b \cot ^2(c+d x)\right )^{3/2}}}{d}\) |
-((-1/3*(b*Cot[c + d*x])/(a*(a - b)*(a + b*Cot[c + d*x]^2)^(3/2)) + ((3*a* ArcTan[(Sqrt[a - b]*Cot[c + d*x])/Sqrt[a + b*Cot[c + d*x]^2]])/(a - b)^(3/ 2) - ((5*a - 2*b)*b*Cot[c + d*x])/(a*(a - b)*Sqrt[a + b*Cot[c + d*x]^2]))/ (3*a*(a - b)))/d)
3.1.36.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*A rcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a , 0] || GtQ[b, 0])
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst [Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim p[(-b)*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q + 1)/(2*a*(p + 1)*(b*c - a*d)) ), x] + Simp[1/(2*a*(p + 1)*(b*c - a*d)) Int[(a + b*x^2)^(p + 1)*(c + d*x ^2)^q*Simp[b*c + 2*(p + 1)*(b*c - a*d) + d*b*(2*(p + q + 2) + 1)*x^2, x], x ], x] /; FreeQ[{a, b, c, d, q}, x] && NeQ[b*c - a*d, 0] && LtQ[p, -1] && ! ( !IntegerQ[p] && IntegerQ[q] && LtQ[q, -1]) && IntBinomialQ[a, b, c, d, 2, p, q, x]
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*(x _)^2), x_Symbol] :> Simp[(-(b*e - a*f))*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^ (q + 1)/(a*2*(b*c - a*d)*(p + 1))), x] + Simp[1/(a*2*(b*c - a*d)*(p + 1)) Int[(a + b*x^2)^(p + 1)*(c + d*x^2)^q*Simp[c*(b*e - a*f) + e*2*(b*c - a*d) *(p + 1) + d*(b*e - a*f)*(2*(p + q + 2) + 1)*x^2, x], x], x] /; FreeQ[{a, b , c, d, e, f, q}, x] && LtQ[p, -1]
Int[((a_) + (b_.)*((c_.)*tan[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Simp[c*(ff/f) Subst[Int[(a + b* (ff*x)^n)^p/(c^2 + ff^2*x^2), x], x, c*(Tan[e + f*x]/ff)], x]] /; FreeQ[{a, b, c, e, f, n, p}, x] && (IntegersQ[n, p] || IGtQ[p, 0] || EqQ[n^2, 4] || EqQ[n^2, 16])
Time = 0.04 (sec) , antiderivative size = 162, normalized size of antiderivative = 1.20
method | result | size |
derivativedivides | \(\frac {-\frac {\sqrt {b^{4} \left (a -b \right )}\, \arctan \left (\frac {b^{2} \left (a -b \right ) \cot \left (d x +c \right )}{\sqrt {b^{4} \left (a -b \right )}\, \sqrt {a +b \cot \left (d x +c \right )^{2}}}\right )}{\left (a -b \right )^{3} b^{2}}+\frac {b \left (\frac {\cot \left (d x +c \right )}{3 a \left (a +b \cot \left (d x +c \right )^{2}\right )^{\frac {3}{2}}}+\frac {2 \cot \left (d x +c \right )}{3 a^{2} \sqrt {a +b \cot \left (d x +c \right )^{2}}}\right )}{a -b}+\frac {b \cot \left (d x +c \right )}{\left (a -b \right )^{2} a \sqrt {a +b \cot \left (d x +c \right )^{2}}}}{d}\) | \(162\) |
default | \(\frac {-\frac {\sqrt {b^{4} \left (a -b \right )}\, \arctan \left (\frac {b^{2} \left (a -b \right ) \cot \left (d x +c \right )}{\sqrt {b^{4} \left (a -b \right )}\, \sqrt {a +b \cot \left (d x +c \right )^{2}}}\right )}{\left (a -b \right )^{3} b^{2}}+\frac {b \left (\frac {\cot \left (d x +c \right )}{3 a \left (a +b \cot \left (d x +c \right )^{2}\right )^{\frac {3}{2}}}+\frac {2 \cot \left (d x +c \right )}{3 a^{2} \sqrt {a +b \cot \left (d x +c \right )^{2}}}\right )}{a -b}+\frac {b \cot \left (d x +c \right )}{\left (a -b \right )^{2} a \sqrt {a +b \cot \left (d x +c \right )^{2}}}}{d}\) | \(162\) |
1/d*(-1/(a-b)^3*(b^4*(a-b))^(1/2)/b^2*arctan(b^2*(a-b)/(b^4*(a-b))^(1/2)/( a+b*cot(d*x+c)^2)^(1/2)*cot(d*x+c))+1/(a-b)*b*(1/3*cot(d*x+c)/a/(a+b*cot(d *x+c)^2)^(3/2)+2/3/a^2*cot(d*x+c)/(a+b*cot(d*x+c)^2)^(1/2))+1/(a-b)^2*b*co t(d*x+c)/a/(a+b*cot(d*x+c)^2)^(1/2))
Leaf count of result is larger than twice the leaf count of optimal. 423 vs. \(2 (121) = 242\).
Time = 0.35 (sec) , antiderivative size = 898, normalized size of antiderivative = 6.65 \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=\left [-\frac {3 \, {\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2} + {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )^{2} - 2 \, {\left (a^{4} - a^{2} b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )\right )} \sqrt {-a + b} \log \left (-2 \, {\left (a^{2} - 2 \, a b + b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )^{2} - 2 \, {\left ({\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - b\right )} \sqrt {-a + b} \sqrt {\frac {{\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - a - b}{\cos \left (2 \, d x + 2 \, c\right ) - 1}} \sin \left (2 \, d x + 2 \, c\right ) + a^{2} - 2 \, b^{2} + 4 \, {\left (a b - b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )\right ) - 8 \, {\left (3 \, a^{3} b - 2 \, a^{2} b^{2} - 2 \, a b^{3} + b^{4} - {\left (3 \, a^{3} b - 7 \, a^{2} b^{2} + 5 \, a b^{3} - b^{4}\right )} \cos \left (2 \, d x + 2 \, c\right )\right )} \sqrt {\frac {{\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - a - b}{\cos \left (2 \, d x + 2 \, c\right ) - 1}} \sin \left (2 \, d x + 2 \, c\right )}{12 \, {\left ({\left (a^{7} - 5 \, a^{6} b + 10 \, a^{5} b^{2} - 10 \, a^{4} b^{3} + 5 \, a^{3} b^{4} - a^{2} b^{5}\right )} d \cos \left (2 \, d x + 2 \, c\right )^{2} - 2 \, {\left (a^{7} - 3 \, a^{6} b + 2 \, a^{5} b^{2} + 2 \, a^{4} b^{3} - 3 \, a^{3} b^{4} + a^{2} b^{5}\right )} d \cos \left (2 \, d x + 2 \, c\right ) + {\left (a^{7} - a^{6} b - 2 \, a^{5} b^{2} + 2 \, a^{4} b^{3} + a^{3} b^{4} - a^{2} b^{5}\right )} d\right )}}, -\frac {3 \, {\left (a^{4} + 2 \, a^{3} b + a^{2} b^{2} + {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )^{2} - 2 \, {\left (a^{4} - a^{2} b^{2}\right )} \cos \left (2 \, d x + 2 \, c\right )\right )} \sqrt {a - b} \arctan \left (-\frac {\sqrt {a - b} \sqrt {\frac {{\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - a - b}{\cos \left (2 \, d x + 2 \, c\right ) - 1}} \sin \left (2 \, d x + 2 \, c\right )}{{\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - b}\right ) - 4 \, {\left (3 \, a^{3} b - 2 \, a^{2} b^{2} - 2 \, a b^{3} + b^{4} - {\left (3 \, a^{3} b - 7 \, a^{2} b^{2} + 5 \, a b^{3} - b^{4}\right )} \cos \left (2 \, d x + 2 \, c\right )\right )} \sqrt {\frac {{\left (a - b\right )} \cos \left (2 \, d x + 2 \, c\right ) - a - b}{\cos \left (2 \, d x + 2 \, c\right ) - 1}} \sin \left (2 \, d x + 2 \, c\right )}{6 \, {\left ({\left (a^{7} - 5 \, a^{6} b + 10 \, a^{5} b^{2} - 10 \, a^{4} b^{3} + 5 \, a^{3} b^{4} - a^{2} b^{5}\right )} d \cos \left (2 \, d x + 2 \, c\right )^{2} - 2 \, {\left (a^{7} - 3 \, a^{6} b + 2 \, a^{5} b^{2} + 2 \, a^{4} b^{3} - 3 \, a^{3} b^{4} + a^{2} b^{5}\right )} d \cos \left (2 \, d x + 2 \, c\right ) + {\left (a^{7} - a^{6} b - 2 \, a^{5} b^{2} + 2 \, a^{4} b^{3} + a^{3} b^{4} - a^{2} b^{5}\right )} d\right )}}\right ] \]
[-1/12*(3*(a^4 + 2*a^3*b + a^2*b^2 + (a^4 - 2*a^3*b + a^2*b^2)*cos(2*d*x + 2*c)^2 - 2*(a^4 - a^2*b^2)*cos(2*d*x + 2*c))*sqrt(-a + b)*log(-2*(a^2 - 2 *a*b + b^2)*cos(2*d*x + 2*c)^2 - 2*((a - b)*cos(2*d*x + 2*c) - b)*sqrt(-a + b)*sqrt(((a - b)*cos(2*d*x + 2*c) - a - b)/(cos(2*d*x + 2*c) - 1))*sin(2 *d*x + 2*c) + a^2 - 2*b^2 + 4*(a*b - b^2)*cos(2*d*x + 2*c)) - 8*(3*a^3*b - 2*a^2*b^2 - 2*a*b^3 + b^4 - (3*a^3*b - 7*a^2*b^2 + 5*a*b^3 - b^4)*cos(2*d *x + 2*c))*sqrt(((a - b)*cos(2*d*x + 2*c) - a - b)/(cos(2*d*x + 2*c) - 1)) *sin(2*d*x + 2*c))/((a^7 - 5*a^6*b + 10*a^5*b^2 - 10*a^4*b^3 + 5*a^3*b^4 - a^2*b^5)*d*cos(2*d*x + 2*c)^2 - 2*(a^7 - 3*a^6*b + 2*a^5*b^2 + 2*a^4*b^3 - 3*a^3*b^4 + a^2*b^5)*d*cos(2*d*x + 2*c) + (a^7 - a^6*b - 2*a^5*b^2 + 2*a ^4*b^3 + a^3*b^4 - a^2*b^5)*d), -1/6*(3*(a^4 + 2*a^3*b + a^2*b^2 + (a^4 - 2*a^3*b + a^2*b^2)*cos(2*d*x + 2*c)^2 - 2*(a^4 - a^2*b^2)*cos(2*d*x + 2*c) )*sqrt(a - b)*arctan(-sqrt(a - b)*sqrt(((a - b)*cos(2*d*x + 2*c) - a - b)/ (cos(2*d*x + 2*c) - 1))*sin(2*d*x + 2*c)/((a - b)*cos(2*d*x + 2*c) - b)) - 4*(3*a^3*b - 2*a^2*b^2 - 2*a*b^3 + b^4 - (3*a^3*b - 7*a^2*b^2 + 5*a*b^3 - b^4)*cos(2*d*x + 2*c))*sqrt(((a - b)*cos(2*d*x + 2*c) - a - b)/(cos(2*d*x + 2*c) - 1))*sin(2*d*x + 2*c))/((a^7 - 5*a^6*b + 10*a^5*b^2 - 10*a^4*b^3 + 5*a^3*b^4 - a^2*b^5)*d*cos(2*d*x + 2*c)^2 - 2*(a^7 - 3*a^6*b + 2*a^5*b^2 + 2*a^4*b^3 - 3*a^3*b^4 + a^2*b^5)*d*cos(2*d*x + 2*c) + (a^7 - a^6*b - 2* a^5*b^2 + 2*a^4*b^3 + a^3*b^4 - a^2*b^5)*d)]
\[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=\int \frac {1}{\left (a + b \cot ^{2}{\left (c + d x \right )}\right )^{\frac {5}{2}}}\, dx \]
Exception generated. \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=\text {Exception raised: ValueError} \]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(b-a>0)', see `assume?` for more details)Is
Leaf count of result is larger than twice the leaf count of optimal. 1160 vs. \(2 (121) = 242\).
Time = 1.14 (sec) , antiderivative size = 1160, normalized size of antiderivative = 8.59 \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=\text {Too large to display} \]
-1/3*(((((5*a^9*b^2*sgn(sin(d*x + c)) - 42*a^8*b^3*sgn(sin(d*x + c)) + 156 *a^7*b^4*sgn(sin(d*x + c)) - 336*a^6*b^5*sgn(sin(d*x + c)) + 462*a^5*b^6*s gn(sin(d*x + c)) - 420*a^4*b^7*sgn(sin(d*x + c)) + 252*a^3*b^8*sgn(sin(d*x + c)) - 96*a^2*b^9*sgn(sin(d*x + c)) + 21*a*b^10*sgn(sin(d*x + c)) - 2*b^ 11*sgn(sin(d*x + c)))*tan(1/2*d*x + 1/2*c)^2/(a^12 - 10*a^11*b + 45*a^10*b ^2 - 120*a^9*b^3 + 210*a^8*b^4 - 252*a^7*b^5 + 210*a^6*b^6 - 120*a^5*b^7 + 45*a^4*b^8 - 10*a^3*b^9 + a^2*b^10) + 3*(8*a^10*b*sgn(sin(d*x + c)) - 73* a^9*b^2*sgn(sin(d*x + c)) + 298*a^8*b^3*sgn(sin(d*x + c)) - 716*a^7*b^4*sg n(sin(d*x + c)) + 1120*a^6*b^5*sgn(sin(d*x + c)) - 1190*a^5*b^6*sgn(sin(d* x + c)) + 868*a^4*b^7*sgn(sin(d*x + c)) - 428*a^3*b^8*sgn(sin(d*x + c)) + 136*a^2*b^9*sgn(sin(d*x + c)) - 25*a*b^10*sgn(sin(d*x + c)) + 2*b^11*sgn(s in(d*x + c)))/(a^12 - 10*a^11*b + 45*a^10*b^2 - 120*a^9*b^3 + 210*a^8*b^4 - 252*a^7*b^5 + 210*a^6*b^6 - 120*a^5*b^7 + 45*a^4*b^8 - 10*a^3*b^9 + a^2* b^10))*tan(1/2*d*x + 1/2*c)^2 - 3*(8*a^10*b*sgn(sin(d*x + c)) - 73*a^9*b^2 *sgn(sin(d*x + c)) + 298*a^8*b^3*sgn(sin(d*x + c)) - 716*a^7*b^4*sgn(sin(d *x + c)) + 1120*a^6*b^5*sgn(sin(d*x + c)) - 1190*a^5*b^6*sgn(sin(d*x + c)) + 868*a^4*b^7*sgn(sin(d*x + c)) - 428*a^3*b^8*sgn(sin(d*x + c)) + 136*a^2 *b^9*sgn(sin(d*x + c)) - 25*a*b^10*sgn(sin(d*x + c)) + 2*b^11*sgn(sin(d*x + c)))/(a^12 - 10*a^11*b + 45*a^10*b^2 - 120*a^9*b^3 + 210*a^8*b^4 - 252*a ^7*b^5 + 210*a^6*b^6 - 120*a^5*b^7 + 45*a^4*b^8 - 10*a^3*b^9 + a^2*b^10...
Timed out. \[ \int \frac {1}{\left (a+b \cot ^2(c+d x)\right )^{5/2}} \, dx=\int \frac {1}{{\left (b\,{\mathrm {cot}\left (c+d\,x\right )}^2+a\right )}^{5/2}} \,d x \]